<h2>View customer <?php echo $model->id; ?></h2>

<div class="actionBar">
[<?php echo CHtml::link('customer List',array('list')); ?>]
[<?php echo CHtml::link('New customer',array('create')); ?>]
[<?php echo CHtml::link('Update customer',array('update','id'=>$model->id)); ?>]
[<?php echo CHtml::linkButton('Delete customer',array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure?')); ?>
]
[<?php echo CHtml::link('Manage customer',array('admin')); ?>]
</div>

<?php
       $tab['company'] = $this->renderPartial('display/_company',array('model'=>$model),true);
       $tab['employee'] = $this->renderPartial('display/_employee',array('models'=>$model->members()),true);
       $tab['warehouse'] = $this->renderPartial('display/_warehouse',array('models'=>$model->warehouse()),true);
$this->widget('zii.widgets.jui.CJuiTabs', array(
    'tabs'=>array(
        'Company'=>$tab['company'],
        'Warehouse'=>$tab['warehouse'],
        'Employee'=>$tab['employee'],
    ),
    // additional javascript options for the tabs plugin
    ));

        ?>